/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine - graphics/renderer
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AERenderer.cpp
// Author:		Gianluca Belardelli
// Date:		26/01/2015
//
/////////////////////////////////////////////////////////////////////////
#include <AEEngine.h>

AERenderer::AERenderer( void )
{
	m_arrRenderNodes.Reserve( AE_MAX_RENDERER_NODES );
	m_arrRenderNodes.Clear();
	m_lpCurrentRenderNode = 0L;

	m_bInRenderLoop = AEFALSE;
	m_vcDefaultClearColor.Set( 1.0f, 0.0f, 0.0f, 0.0f );
}

void AERenderer::SetDefaultClearColor( AEVector4f &vcColor )
{
	m_vcDefaultClearColor = vcColor;
	// TODO: Trigger per far cambiare colore alla cache del renderer
}